module.exports = [
    {
        url: '/menu-item/api',
        type: 'get',
        response: () => {
            return {
                code: 200,
                random: '@integer(300, 5000)',
                data: {
                    'rows': [{
                        "createTime": "2024-04-17T10:35:29.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": null,
                        "id": 8,
                        "name": "查询菜单页下的接口",
                        "pagePath": "system/menu/index",
                        "apiId": "/menu-item/api_GET",
                        "api": {
                            "createTime": "2024-04-17T10:34:06.000+00:00",
                            "lastUpdateTime": "2024-04-17T15:14:12.000+00:00",
                            "id": "/menu-item/api_GET",
                            "name": "查询菜单页下的接口",
                            "antPattern": "/menu-item/api",
                            "method": "GET",
                            "className": "com.uublue.system.controller.MenuController",
                            "methodName": "getMenuPageApis",
                            "permissions": "system:api:read",
                            "roles": null
                        },
                        "permissions": null,
                        "roles": null
                    }, {
                        "createTime": "2024-04-17T10:35:29.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": null,
                        "id": 7,
                        "name": "查询菜单",
                        "pagePath": "system/menu/index",
                        "apiId": "/menu_GET",
                        "api": {
                            "createTime": "2024-04-16T15:22:48.000+00:00",
                            "lastUpdateTime": "2024-04-17T15:14:12.000+00:00",
                            "id": "/menu_GET",
                            "name": "查询菜单",
                            "antPattern": "/menu",
                            "method": "GET",
                            "className": "com.uublue.system.controller.MenuController",
                            "methodName": "queryMenu",
                            "permissions": "system:menu:read",
                            "roles": null
                        },
                        "permissions": null,
                        "roles": null
                    }, {
                        "createTime": "2024-04-17T10:35:29.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": null,
                        "id": 6,
                        "name": "初始化菜单",
                        "pagePath": "system/menu/index",
                        "apiId": "/menu_POST",
                        "api": {
                            "createTime": "2024-04-16T15:22:48.000+00:00",
                            "lastUpdateTime": "2024-04-17T15:14:12.000+00:00",
                            "id": "/menu_POST",
                            "name": "初始化菜单",
                            "antPattern": "/menu",
                            "method": "POST",
                            "className": "com.uublue.system.controller.MenuController",
                            "methodName": "initMenu",
                            "permissions": "system:menu:create",
                            "roles": "ADMIN"
                        },
                        "permissions": null,
                        "roles": null
                    }]
                }
            }
        }
    },
    {
        url: '/menu',
        type: 'get',
        response: () => {
            return {
                code: 200,
                random: '@integer(300, 5000)',
                data: {
                    'rows': [{
                        "createTime": "2024-04-17T10:35:51.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": "",
                        "id": 1,
                        "name": "首页",
                        "type": "Page",
                        "icon": "el-icon-folder-opened",
                        "title": "首页",
                        "path": "dashboard",
                        "url": "/dashboard",
                        "pagePath": "home/dashboard/index",
                        "permission": null,
                        "parentId": null,
                        "sequence": 0,
                        "children": []
                    }, {
                        "createTime": "2024-04-17T10:35:51.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": "",
                        "id": 2,
                        "name": "系统管理",
                        "type": "Directory",
                        "icon": "el-icon-setting",
                        "title": "系统管理",
                        "path": "/system",
                        "url": "/system",
                        "pagePath": null,
                        "permission": null,
                        "parentId": null,
                        "sequence": 0,
                        "children": [{
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 4,
                            "name": "用户管理",
                            "type": "Page",
                            "icon": null,
                            "title": "用户管理",
                            "path": "user",
                            "url": "/system/user",
                            "pagePath": "system/user/index",
                            "permission": "system:user:view",
                            "parentId": 2,
                            "sequence": 0,
                            "children": []
                        }, {
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 5,
                            "name": "部门管理",
                            "type": "Page",
                            "icon": null,
                            "title": "部门管理",
                            "path": "dept",
                            "url": "/system/dept",
                            "pagePath": "system/dept/index",
                            "permission": "system:department:view",
                            "parentId": 2,
                            "sequence": 0,
                            "children": []
                        }, {
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 6,
                            "name": "接口管理",
                            "type": "Page",
                            "icon": null,
                            "title": "页面接口",
                            "path": "api",
                            "url": "/system/api",
                            "pagePath": "system/api/index",
                            "permission": "system:page-api:view",
                            "parentId": 2,
                            "sequence": 0,
                            "children": []
                        }, {
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 7,
                            "name": "菜单管理",
                            "type": "Page",
                            "icon": null,
                            "title": "菜单管理",
                            "path": "menu",
                            "url": "/system/menu",
                            "pagePath": "system/menu/index",
                            "permission": "system:menu:view",
                            "parentId": 2,
                            "sequence": 0,
                            "children": []
                        }
                        ]
                    }, {
                        "createTime": "2024-04-17T10:35:51.000+00:00",
                        "lastUpdateTime": null,
                        "createBy": 1,
                        "lastUpdateBy": null,
                        "tenantId": "",
                        "id": 3,
                        "name": "组件演示",
                        "type": "Directory",
                        "icon": "el-icon-setting",
                        "title": "组件演示",
                        "path": "/demos",
                        "url": "/demos",
                        "pagePath": null,
                        "permission": null,
                        "parentId": null,
                        "sequence": 0,
                        "children": [{
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 8,
                            "name": "表格",
                            "type": "Page",
                            "icon": null,
                            "title": "表格",
                            "path": "table",
                            "url": "/demos/table",
                            "pagePath": "demos/yi-table/index",
                            "permission": null,
                            "parentId": 3,
                            "sequence": 0,
                            "children": []
                        }, {
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 9,
                            "name": "操作",
                            "type": "Page",
                            "icon": null,
                            "title": "操作",
                            "path": "operation",
                            "url": "/demos/operation",
                            "pagePath": "demos/yi-operation/index",
                            "permission": null,
                            "parentId": 3,
                            "sequence": 0,
                            "children": []
                        }, {
                            "createTime": "2024-04-17T10:35:51.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": "",
                            "id": 10,
                            "name": "模态框",
                            "type": "Page",
                            "icon": null,
                            "title": "模态框",
                            "path": "modal-trigger",
                            "url": "/demos/modal-trigger",
                            "pagePath": "demos/yi-modal-trigger/index",
                            "permission": "demo:modal:view",
                            "parentId": 3,
                            "sequence": 0,
                            "children": []
                        }
                        ]
                    }]
                }
            }
        }
    },

]